#include<stdio.h>

int main ()
{
   int sum =0;
   double pjz=0;
 int n=0;  
 int i=0;
   while(scanf("%d",&n)!=EOF)
   {
         if(n<0)
         {
             sum++;
         }
         else{
             pjz+=n;
             i++;
         }
   }

    printf("%d\n%.1lf",sum,pjz/i);

}